import 'dart:convert';


import '../generated/json/base/json_field.dart';
import '../generated/json/setting_entity.g.dart';


@JsonSerializable()
class SettingEntity {

	@JSONField(name: "api_addr")
	String? websocketAddr;
	String? sip2ApiAddr;
	String? norms;
	String? face;
  String? faceApiAddr;
  String? psw;
	String? auth = '1';
  @JSONField(name: "device_no")
  String? deviceNo;
  String? deviceName;
  String? analysisBook;
  String? executable;
  int? rotate;
  int? actionTime;
  bool? isUltra = false;
  bool? qr = false;
  bool? print = true;

  double? scale1;
  double? scale2;
  double? translateX1;
  double? translateX2;
  double? translateY1;
  double? translateY2;

  String? clientId;
  String? clientSecret;
  String? username;
  String? password;
  String? grantType;
  double? score;


  SettingEntity();

  factory SettingEntity.fromJson(Map<String, dynamic> json) => $SettingEntityFromJson(json);

  Map<String, dynamic> toJson() => $SettingEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}


